<?php
    namespace yaliSDK\db;

    interface IDB {
        public function insert(DBQuery $query): IDBResult;

        public function delete(DBQuery $query): IDBResult;

        public function update(DBQuery $query): IDBResult;

        public function find(DBQuery $query): IDBResult;

//    public function keys(DBQuery $query):IDBResult;
        public function list(DBQuery $query): IDBResult;

        public function count(DBQuery $query): IDBResult;
        public function getHandler();
    }